<!-- Thumbnail display -->
<?php foreach ($images as $img): ?>
<div class="thumbConainer">
    <image src="<?php echo $img['thumb_fix'] ?>" />
    <label>
        <span class="deleteFile link"
              ref="<?php echo $img['name']; ?>">
            (Delete)
        </span>
        <span class="insertFile link"
              ref="<?php echo $img['url']; ?>">
            (Insert)
        </span>
    </label>
</div>
<?php endforeach; ?>